package com.design.birdge.message.type;

import com.design.birdge.message.AbstractMessage;
import com.design.birdge.message.MessageImplementor;

public class AllNewTypeMessage extends AbstractMessage {
    /**
     * 构造方式，构造消息时指定发送方式
     *
     * @param implementor
     */
    public AllNewTypeMessage(MessageImplementor implementor) {
        super(implementor);
    }

    @Override
    public void sendMessage(String message, String toUser) {
        message = "全新语言(撒哈拉公告)" + message;
        super.sendMessage(message, toUser);
    }
}
